home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_asm
/
disasm
/
doskeys.doc
< prev
next >
Wrap
Text File
|
1988-06-03
|
3KB
|
95 lines
The procedure for installing key changes under DOS 2.0
is as follows:
Run the DOSKEYS.BAS program, it then creates a file which
will look like this..
This file is named RICHKEY.KEY 'Just the name I specified for the file
INSTALLING richkey.KEY
5;"DIR 0*.*";13p ' 13 is a carriage return
6;"TYPE "p
7;"CLS";13p ' The ascii 27 and the [ on the front of
8;"DIR";13p ' each line is the key combination for the
4;"diR "p ' ansi.sys program to install these values
5;"MORE <"p ' for the function keys..... You can-not
6;"TYPE "p ' print these characters on your printer.
7;"DEBUG "p
8;"COPY "p
9;"BASICA "p
0;"CD \"p
1;"C_FILES"p
2;"CAP-PC"p
3;"host";13p
4;"*.*";13p
5;"*"p
6;".*";13p
7;".ASM";13p
8;".BAS";13p
9;".BAT";13p
00;".COM";13p
01;".DOC";13p
02;".EXE";13p
DONE
This is what I have in a file called
CONFIG.SYS
(This file is just like AUTOEXEC.BAT , It is run first when
system is booted or Ctrl+Alt+Del is pressed.)
device=vdisk.com
device=ansi.sys
What this CONFIG.SYS DOES:
1. Run the VDISK.COM program to
install my Electronic Disk for DOS 2.0.
2. It Runs a program called ANSI.SYS which installs the program
to set up the Key configuration changes.
There is still more.......
Now as one of the first steps in your AUTOEXEC.BAT file,
you must have the statement
TYPE RICHKEY.KEY ' or whatever you named the file in DOSKEYS.BAS
This is what does the whole thing. If you ever try to do a type
of the file called (RICHKEY.KEY) it will try to install the
keys again and might mess things up..
Now the file called "RICHKEY.KEY" is what I called my file when
I ran the DOSKEY.BAS program, call your's whatever you wish...
What happens is that when you boot your system (ON/OFF) the DOS looks
for a file called CONFIG.SYS , if it exists then it executes this file
prior to an AUTOEXEC.BAT file. the two statements that I have in my
CONFIG.SYS are in there for configuring the Electronic Disk and the
KEY changes...
Then the system looks for a file called AUTOEXEC.BAT, if it is found
then it executes the batch job 1 step at a time..
a sample AUTOEXEC.BAT file for someone with a quad board might be.....
TYPE RICHKEY.KEY ' OR WHATEVER YOU CALL YOUR DOSKEY FILE
PWRUPCLK ' FOR QUADRAM CLOCK SET OF SYTEM TIME
PATH \DOS2-0;\UTILITY ' THIS SETS MY SEARCH PATH FOR JOBS
BREAK ON ' THIS SETS BREAK ON ALL THE TIME
PROMPT $P$G ' THIS DISPLAYS THE DIRECTORY I AM IN..
SDIR ' THIS IS JUST WHAT IT LOOKS LIKE,
' IT RUNS SDIR.COM WHEN IT FINISHES THE BATCH
' JOB AUTOEXEC.BAT
What you see when you boot your system is
Installing richkey.key
DONE
Then your keys are set......
GOOD LUCK, AND THANKS TO
Vince Bly for the DOS keys program
I hope that this clears up some questions without bringing up too many
others. I have tryed to make it clear...
Rich Schinnell, CAPITAL PC USER GROUP SOFTWARE EXCHANGE SIG.